﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ModifyRole.aspx.cs" Inherits="Zyg.SSO.Web.Admin.Role.ModifyRole" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改 角色用户组 - SSO后台管理系统</title>
</head>
<body class="dbody">
    <form id="mainForm" runat="server">
    <div id="ui">
        <p>
            <span>角色名称:</span>
            <asp:Literal ID="RoleName" runat="server"></asp:Literal>
        </p>
        <p>
            <span>添加时间:</span>
            <asp:Literal ID="RoleDateCreated" runat="server"></asp:Literal>
        </p>
        <p>
            <span>角色描述:</span>
            <asp:TextBox ID="RoleRemark" runat="server" TextMode="MultiLine" Rows="6" Columns="30"
                CssClass="text"></asp:TextBox>
        </p>
        <p>
            <span></span>
            <asp:Button ID="BtnSubmit" runat="server" Text="确认" CssClass="button" OnClick="BtnSubmit_Click" />
            <%--<asp:Button ID="BtnModifyRoleAccount" runat="server" Text="修改角色的用户" CssClass="button" />--%>
            <input type="button" id="BtnModifyRoleAccount" value="修改角色的用户" class="button" />
            <input type="button" id="BtnRolePermission" value="维护角色权限" class="button" />
        </p>
    </div>
    </form>

    <script type="text/javascript" src="../../script/jquery/jquery-1.2.6.min.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/jquery/jquery.queryString.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/zyg.sso.js" charset="utf-8"></script>

    <script type="text/javascript" src="../../script/zyg.sso.role.js" charset="utf-8"></script>

    <script type="text/javascript">

        zyg.sso.role.page.modify("mainForm");

        $("#BtnModifyRoleAccount").click(function() {
            window.location.href = 'RoleAccounts.aspx?RoleId=' + $.queryString({ id: 'id' });
        });
        
        $("#BtnRolePermission").click(function() {
            window.location.href = 'AddRolePermission.aspx?RoleId=' + $.queryString({ id: 'id' });
        });

    </script>

</body>
</html>
